<!-- <div class="modal-body"> -->
    <div class="container-fluid form-horizontal ">
      <div class="panel panel-info form-horizontal">
        <div class="panel-heading ">
          创建公告
        </div>
		    <div class="panel-body">
			    <div class="container-fluid">
				    <div class="wrapper-md ng-scope" style="text-align: center">
              <h1 class="m-n font-thin h3 ng-binding">创建公告</h1>
            </div>
            <div class="col-sm-12" style="padding:10px">
                <div class="form-group">
                    <label class="col-xs-4 control-label">公告名称:</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" ng-model="info.guide_name" placeholder="公告名称" > 
                    </div>
                </div>  
            </div>
<!-- 
            <div class="col-sm-12" style="padding:10px">
                <div class="form-group">
                    <label class="col-xs-4 control-label">公告类型:</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" ng-model="info.guide_type" placeholder="公告类型" > 
                    </div>
                </div>  
            </div> -->

            <div class="col-sm-12" style="padding:10px">
                <div class="form-group">
                    <label class="col-xs-4 control-label">公告类型:</label>
                    <div class="col-sm-4">
                        <ui-select ng-model="info.guide_type" ng-change="change(info.guide_type)" theme="bootstrap" >
                            <ui-select-match placeholder="请选择公告类型">
                                {{$select.selected.name}}
                            </ui-select-match>
                            <ui-select-choices repeat="typeFile.name as typeFile in typeFileArr | filter: $select.search">
                                <span ng-bind-html="typeFile.name | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                </div>
            </div>

            <div class="col-sm-12" style="padding:10px">
                <div class="form-group">
                    <label class="col-xs-4 control-label">责任处室:</label>
                    <div class="col-sm-4">
                        <!-- <input type="text" class="form-control" ng-model="info.recommend_type_name" placeholder="责任处室" disabled >  -->
                        <ui-select ng-model="info.recommend_type" theme="bootstrap" >
                            <ui-select-match placeholder="请选择责任处室">
                                {{$select.selected.name}}
                            </ui-select-match>
                            <ui-select-choices repeat="officeFile.value as officeFile in officeFileArr | filter: $select.search">
                                <span ng-bind-html="officeFile.name | highlight: $select.search"></span>
                            </ui-select-choices>
                        </ui-select>
                    </div>
                </div>
            </div>

            <div class="col-sm-12" style="padding:10px">
                <div class="form-group">
                    <label class="col-xs-4 control-label">项目类型:</label>
                        <div class="col-sm-4">
                            <select class="form-control" ng-model="info.project_build">
                                <option value=''>请选择</option>
                                <option value='0'>建设类</option>
                                <option value='1'>非建设类</option>
                            </select>
                        </div>
                </div>
            </div>

            <div class="col-sm-12" style="padding:10px">
                <div class="form-group">
                    <label class="col-xs-4 control-label">项目级别:</label>
                        <div class="col-sm-4">
                            <select class="form-control" ng-model="info.project_level">
                                <option value=''>请选择</option>
                                <option value='3'>国家级</option>
                                <option value='2'>省级</option>
                                <option value='4'>区域级</option>
                                <option value='1'>市级</option>
                            </select>
                        </div>
                </div>
            </div>
            <div class="col-sm-12" style="padding:10px">
                <div class="form-group">
                    <label class="col-xs-4 control-label">是否需要区县审核:</label>
                    <div class="col-sm-1" style="margin-top:7px">
                      <label class="i-switch bg-success" ng-init="obj.isSelected" style="margin-left:25%">
                        <input type="checkbox" ng-model="obj.isSelected" ng-change="onChange(obj.isSelected)">
                        <i></i>
                      </label>
                  </div>
                </div>
            </div>

            <div class="col-sm-12" style="padding:10px">
                <div class="form-group">
                    <label class="col-xs-4 control-label">上传资料:</label>
                    <div class="col-sm-4">
                        <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
                            <i class="fa fa-file-image-o"></i> 上传资料
                        </button>                    
                    </div>
                </div>  
            </div>

            <div class="col-sm-12" style="padding:10px" ng-repeat="item in array">           
                <div class="col-sm-4" >         
                </div> 
                <div class="col-sm-4">
                    <img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                    <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                    <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
                </div> 
            </div>  
             

<div class="col-sm-12" style="padding:20px">
    <div class="col-sm-5"></div>
    <div class="col-sm-4">
        <button class="btn btn-success " ng-click="submit()">保存</button>
    </div>
</div>